From: Florian Müllner Date: Fri, 13 Mar 2026 11:47:48 +0000 (+0100) Subject: boxpointer: Queue relayout after updating arrow side X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~28^2~4^2^2~4 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f0c6a068eeceb400ea57f7a961daa6f1f1e8bacf;p=gnome-shell.git boxpointer: Queue relayout after updating arrow side We currently queue a repaint after setting a new arrow side, but that seems insufficient - moving the arrow from top/bottom to the left/right for example may very well affect the layout, plus the arrow may need flipping due to size constraints (which happens on allocation). Part-of: (cherry picked from commit 8f19a2c1b82e5eb67c33a8b25a235264c3b2a920) --- diff --git a/js/ui/boxpointer.js b/js/ui/boxpointer.js index c758911b4..1fe2795be 100644 --- a/js/ui/boxpointer.js +++ b/js/ui/boxpointer.js @@ -667,7 +667,7 @@ export const BoxPointer = GObject.registerClass({ updateArrowSide(side) { this._arrowSide = side; - this._border.queue_repaint(); + this.queue_relayout(); this.emit('arrow-side-changed'); }